package com.mingqijia.gassafety.db.hangzhou.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.mingqijia.gassafety.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 杭州对接-产品信息
 * </p>
 *
 * @author wanghai
 * @since 2022-04-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_hz_city_product")
@ApiModel(value="CityProduct对象", description="杭州对接-产品信息")
public class CityProduct extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "产品pk")
    @TableField("product_key")
    private String productKey;

    @ApiModelProperty(value = "产品名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "产品类型名")
    @TableField("product_type")
    private String productType;

    @ApiModelProperty(value = "设备源产品id(自定义")
    @TableField("source_product_id")
    private String sourceProductId;

    @ApiModelProperty(value = "设备源类型")
    @TableField("source_platform_type")
    private String sourcePlatformType;

    @ApiModelProperty(value = "设备源id")
    @TableField("source_platform_id")
    private String sourcePlatformId;

    @ApiModelProperty(value = "产品所属的类目id")
    @TableField("category_key")
    private String categoryKey;

    @ApiModelProperty(value = "品类中文名")
    @TableField("category_name")
    private String categoryName;

    @ApiModelProperty(value = "设备入网类型")
    @TableField("net_type")
    private String netType;

    @ApiModelProperty(value = "设备接入协议")
    @TableField("protocol_type")
    private String protocolType;

    @ApiModelProperty(value = "供应商")
    @TableField("equipment_manufacturer")
    private String equipmentManufacturer;

    @ApiModelProperty(value = "描述")
    @TableField("description")
    private String description;


}
